package com.bh.order.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.order.domain.JcOrderTrack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单追踪Mapper接口
 *
 * @author slx
 * @date 2023-04-22
 */
@Mapper
public interface JcOrderTrackMapper extends RootMapper<JcOrderTrack> {

    /**
     * 查询订单追踪列表
     *
     * @param jcOrderTrack 订单追踪
     * @return 订单追踪集合
     */
    public List<JcOrderTrack> selectJcOrderTrackList(JcOrderTrack jcOrderTrack);

    /**
     * 基于 orderId 数组 的删除方法
     */
    public int deleteByOrderIds(@Param("orderIds") List<Long> orderIds);
}
